
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="master.html" />

<head>
	
  <script type="text/javascript">
	function redirect(address)
	{
		window.location = address;
	}
	
	function setAction(formId,action)
	{
		var form = document.getElementById(formId);
		form.action = action;
	}
  </script>
	
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
  <title>consultaPais</title>
</head>

<body>
  <div class="main_content">
    <h2>colecaoPais</h2>
    <table py:if="colecaoPais!=[] and colecaoPais!=''">
		<tr>	
			<td><b>codigo:</b></td>
			<td><b>descricao:</b></td>
			<td><b>codigoAuxiliar:</b></td>
			<td><b>valor:</b></td>
		</tr>
		<tr py:for="item in colecaoPais" id='${item.id}'>
			<td ><span py:replace="item.codigo">codigo</span></td>
			<td ><span py:replace="item.descricao">descricao</span></td>
			<td ><span py:replace="item.codigoAuxiliar">codigoAuxiliar</span></td>
			<td ><span py:replace="item.valor">valor</span></td>
			<td>detalhar</td>
			<td>colecaoPais</td>
		</tr>
    </table>
	<p py:if="colecaoPais==[] or colecaoPais==''">Nenhum resultado encontrado.</p>
	
  </div>
  <div>
    <form action="action" method="post" id="resultadoConsultaPais">
      <input type="submit" name="voltar" value="voltar" onclick="setAction('resultadoConsultaPais','/consultaPais/formularioPais')"/>
      <input type="submit" name="detalharhyperlink" value="detalharhyperlink" onclick="setAction('resultadoConsultaPais','/incluiPais/formularioIncluiPais')"/>
    </form>
  </div>
</body>
</html>